*{
    font-style: normal;
}

body, html {
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-style: normal;
}
p,ul,ul li{
    padding:0;
    margin:0;
}
/*clear*/
.clear {
    clear: both;
    line-height: 0;
    height: 0;
    font-size: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.im-chat-container {
    min-width: 1000px;
    margin: 0 auto;
    position: relative;
    /*box-shadow: 1px 1px 50px rgb(0 0 0 / 30%);*/
    background: #fff;
    background: url("../img/1.jpeg") no-repeat;
    background-size: cover;
}

.chat-list {
    padding-bottom: 60px;
}

.im-chat-list {
    width: 0;
    background: #f6f6f6;
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    position: relative;
}

.im-chat-main {
    width: 100%;
    height: 100%;
}

.has-left .im-chat-list {
    width: 25%;
}

.has-left .im-chat-main {
    width: 75%;
    height: 100%;
    position: relative;
}

.chat-list li {
    /*display: flex;*/
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
    list-style: none;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    padding-top: 5px;
    height: 50px;
    /*padding-bottom: 5px;*/
    overflow: hidden;
}

.chat-list li div.info {
    float: left;
    width: calc(100% - 70px);
}

.chat-list li div.info p {
    height: 23px;
    line-height: 20px;
}

.chat-list li span, .chat-list li em {
    display: inline-block;
}

.chat-list li span.name, .chat-list li em {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
}

.text-hidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list li em {
    font-size: 12px;
    color: #999;
}

.chat-list li:hover, .chat-list li.active {
    background: #dddddd;
}

.group-avatar {
    width: 40px;
    margin: 0 10px;
    height: 40px;
    background: #d8d9dc;
    border-radius: 4px;
    display: inline-block;
    overflow: hidden;
    float: left;
}

.chat-list li:hover .group-avatar, .chat-list li.active .group-avatar {
    background: #c7c8c6;
}

.w-tag {
    display: inline-block;
    border-radius: 4px;
    color: #409eff;
    font-size: 12px;
}

.avatar {
    display: inline-block;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    margin: 0 10px;
    background-image: url("../img/default.png");
    float: left;
}

.group-avatar .avatar {
    width: 11px;
    height: 11px;
    border-radius: 0;
    margin: 1px 1px 1px 1.4px;
    float: left;
}

.group-avatar .avatar:nth-child(3n) {
    margin-right: 0;
}

.group-avatar .avatar:nth-child(7), .group-avatar .avatar:nth-child(8), .group-avatar .avatar:nth-child(9) {
    margin-bottom: 0;
}

.group-avatar2 {
    display: inline-block;
}

.group-avatar2 .avatar {
    display: block;
    width: 24px;
    height: 23px;
    border: 0;
}

.group-avatar2 .avatar {
    position: relative;
    top: 2px;
    left: 2px;
}

.group-avatar2 .avatar:nth-child(2) {
    top: -11px;
    left: 12px;
}

.im-chat-container * {
    position: relative;
    z-index: 2;
}

.im-chat-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .85);
    z-index: 0;
}

.chat-message {
    overflow-y: auto;
}

.chat-message .feed {
    padding: 10px 0;
}

.chat-message .avatar {
    margin: 0 10px;
}

.chat-message .feed-left .avatar {
    float: left;
}

.chat-message .feed-left .feed-main {
    float: left;
}

.chat-message .feed-right .avatar {
    float: right;
}

.chat-message .feed-right .feed-main {
    float: right;
}

.chat-message .feed-left .feed-main .message-info span {
    float: left;
    margin-right: 10px;
}

.chat-message .feed-right .message-info span, .chat-message .feed-right .message-info em {
    float: right;
    margin-left: 10px;
}

.feed-main p.message-info {
    color: #999;
    font-size: 13px;
}

.feed-message {
    display: inline-block;
    max-width: 500px;
    padding: 10px;
    line-height: 20px;
    font-size: 13px;
    background: #fff;
    border-radius: 5px;
    margin-top: 5px;
    word-wrap: break-word;
    word-break: break-all;
    color: #222;
    position: relative;
}
.feed-message a.link-box{
    text-decoration: none;
}
.feed-message a. {
    color: #409eff;
}

.feed-message:before {
    content: '';
    border-right: 5px solid transparent;
    border-left: 10px solid transparent;
    border-top: 10px solid #fff;
    position: absolute;
    left: -10px;
}

.feed-left .feed-message {
    margin-left: 5px;
}

.feed-right .feed-message {
    float: right;
    margin-left: 0;
    margin-right: 5px;
    background: #409eff;
    color: #fff;
}

.feed-right .feed-message:before {
    content: '';
    border-right: 10px solid transparent;
    border-left: 5px solid transparent;
    border-top: 10px solid #409eff;
    position: absolute;
    left: inherit;
    right: -10px;
}

.chat-message img {
    max-width: 200px;
    height: auto;
    display: block;
}

.chat-message video {
    width: 300px;
    margin-top: 5px;
}

.file-review {
    cursor: pointer;
    background: #f5f5f5;
    margin-top: 5px;
    width: 300px;
}

.file-review span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #b34049;
    color: #fff;
    float: left;
    margin-right: 10px;
}

.file-review p {
    line-height: 28px;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-review p:last-child {
    color: #999;
    line-height: 20px;
}

.file-review:hover {
    opacity: 0.9;
}

.message-group {
    background: #f5f5f5;
    color: #222;
    padding: 5px;
    width: 200px;
}

.group-messages {
    width: 200px;
    background: #f5f5f5;
    color: #888;
    padding: 0 5px 3px 5px;
    font-size: 12px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.get-more-feed {
    border-radius: 5px;
    background: #ddd;
    line-height: 40px;
    text-align: center;
    color: #409eff;
    cursor: pointer;
    left: 20px;
    right: 20px;
    position: absolute;
    bottom: 10px;
    font-size: 14px;
}

.get-more-feed:hover {
    opacity: 0.8;
}

.im-pagination {
    text-align: center;
    margin-top: 20px;
}

.im-pagination button {
    outline: 0;
    border: 0;
    position: relative;
    top: 1px;
}

.im-pagination ul, .im-pagination ul li {
    display: inline-block
}

.im-pagination button, .im-pagination a {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
    margin: 0 5px;
    color: #707070;
    padding: 0 5px;
    font-size: 12px;
}

.im-pagination button:hover, .im-pagination a:hover, .im-pagination a.active {
    background: #409eff;
    color: #fff;
}

.im-pagination .btn-prev:disabled, .im-pagination .btn-next:disabled {
    color: #ddd;
    background: #f4f4f5;
    cursor: not-allowed;
}

/*历史记录*/
.message-widthOut-avatar .avatar {
    display: none;
}

.history-message {
    background: #fff;
}

.history-message .feed-right, .history-message .feed-left {
    float: none;
}

.history-message .feed-right .avatar, .history-message .feed-right .feed-main {
    float: left;
}

.history-message .feed-right .feed-message, .history-message .feed-right .message-info span, .history-message .feed-right .message-info em {
    float: none;
}

.history-message .feed-main {
    float: none !important;
    margin-left: 60px;
}

.history-message .message-info {
    text-align: right;
    height: 20px;
    line-height: 20px;
}

.message-widthOut-avatar .feed-main {
    margin-left: 20px;
}

.message-widthOut-avatar .message-info {
    text-align: left;
}

.message-widthOut-avatar .message-info em {
    margin-left: 10px;
}

.history-message .message-info span {
    float: left !important;
    margin: 0 !important;;
}

.history-message .message-info em {
    margin-right: 20px;
}

.history-message .feed-message {
    margin: 5px 0 0 0 !important;
}

.history-message .feed-message {
    background: none !important;
    color: #222;
    padding: 0;
}
.history-message .user-card,.history-message .mini-programme,.history-message .feed-map{
    background: #f5f5f5 !important;
    padding:5px 10px;
}
.history-message .feed-message:before {
    display: none;
}

.history-message-modal {
    position: fixed;
    width: 1000px;
    height: 600px;
    z-index: 20;
    top: 50%;
    left: 50%;
    margin: -300px 0 0 -500px;
    background: #eee;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 1px 1px 20px rgb(0 0 0 / 10%);
}

.history-message-modal-title {
    background: #f5f5f5;
    padding-left: 20px;
    line-height: 40px;
}

.history-message-modal .message-widthOut-avatar {
    height: calc(100% - 40px)
}

.history-message-modal .feed {
    margin: 0 40px;
}

.history-message-modal .feed:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.history-message-modal .message-widthOut-avatar .feed-main {
    margin-left: 0;
}

.close-message-modal {
    color: #409eff;
    padding: 0 20px;
    cursor: pointer;
    font-size: 14px;
}

.feed-right .feed-message.feed-map {
    width: 240px;
    background: #fff;
    color: #222;
    padding: 5px 0 0 0;
}

.feed-right .feed-message.feed-map:before {
    border-top: 10px solid #fff;
}

.feed-right .feed-message.feed-map p {
    padding: 0 10px;
}

.chat-message .feed-right .feed-message.feed-map img, .feed-right .feed-message.feed-map span {
    display: block;
    width: 100%;
    max-width: 240px !important;
    border-radius: 0 0 5px 5px;
}

.feed-right .feed-message.feed-map p:nth-child(2) {
    /*color: #999;*/
    font-size: 12px;
    padding-bottom: 5px;
}

.money-pack {
    width: 200px;
    height: 90px;
    overflow: hidden;
    background: url("../img/hb-bg.jpg") !important;
    background-size: cover;
    margin-left: 0 !important;
    margin-right: 0 !important;
    color: #fff;
}
.money-pack .money-icon + p{
    margin-top: 10px;
}
.money-pack:before {
    display: none;
}

.money-icon {
    align-items: center;
    margin: 10px 0 0 0;
    font-size: 14px;
}
.money-pack .money-icon{
    display: flex;
    margin-top: 0;
}
.user-card .money-icon .user-img {
    float: left;
    display: inline-block;
    width: 50px;
    height:50px;
    background: url("../img/default.png");
    background-size: cover;
    margin-right: 10px;
}

.money-icon img {
    width: 35px;
    margin-right: 10px;
    float: left;
}

.money-icon + p {
    /*position: absolute;*/
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    text-indent: 10px;
}

.user-card {
    background: #fff !important;
    width: 220px;
    height: 110px;
}
.article-card{
    height:auto;
    padding-bottom: 0;
}
.user-card .money-icon img {
    width: 50px;
    height: 50px;
}
.article-card  .color-gray{
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.article-card  .article-title{
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size:14px;
}
.feed-message a.link-box .article-title{
    color: #222;
}
.mt-5 {
    margin-top: 5px;
}

.user-card .money-icon div {
    color: #222;
}

.user-card .money-icon + p {
    position: inherit;
    margin-top: 14px;
    text-indent: 0;
    border-top: 1px solid #eee;
    color: #aaa;
    font-size: 12px;
}

.color-gray {
    color: #aaa;
}

.font12 {
    font-size: 12px;
}

.font14 {
    font-size: 14px;
}

.mini-programme {
    width: 250px;
}

.mini-top {
    display: flex;
    align-items: center;
}

.mini-photo {
    width: 25px;
    height: 25px !important;
    margin-right: 5px;
    border-radius: 50%;
    float: left;
}

.mini-cover img {
    width: 100%;
    max-width: 100%;
}

.mini-text {
    border-top: 1px solid #eee;
    background: url("../img/link.png") no-repeat 0 12px;
    background-size: 15px;
    padding: 10px 0 0 20px;
    margin-top: 10px;
}

.icon-audio {
    display: inline-block;
    width: 10px;
    height: 15px;
    background-image: url("");
    background-size: cover;
}

.audio-message {
    width: 200px;
    line-height: 1;
    background: #fff !important;
}

.audio-message:before, .user-card:before {
    border-top: 10px solid #fff !important;
}
.audio-time {
    position: absolute;
    right: -70px;
    top: 12px;
    color: #aaa;
}
.audio-time.played,.color-blue,.color-green{
    font-size:13px;
    color: #409eff;
}
.color-green{
    color: #42b983;
}
.feed-right .audio-time {
    left: -70px;
    right: inherit;
}
.map-cover{
    position: absolute;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius:0 0 5px 5px;
    padding: 5px 0 5px 10px;
}
.map-cover p:nth-child(2){
    color: #eee;
}
.map-box{
    border-radius:5px 5px 0 0;
    overflow: hidden;
    margin-top: -5px;
}
.history-message .message-info em {
    float: none;
    margin-left: 0!important;
}
